# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pastedeploy
pkgver=2.1.1
pkgrel=1
pkgdesc="Load, configure, and compose WSGI applications and servers"
url="https://pylonsproject.org"
arch="noarch"
license="MIT"
depends="python3 py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/PasteDeploy/PasteDeploy-$pkgver.tar.gz"
builddir="$srcdir/PasteDeploy-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
977d19c36c6518ffb06cc71c9c396d410ed03afa6845c5960fddb8119b55999d02dd13823a7512eb17d4846efb0ea8e7dc202a7ce2927a9d560c78d5dcaa5006  py3-pastedeploy-2.1.1.tar.gz
"
